<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>赋值运算符</title>
    <script>
      /* 
        赋值   = 
      */
      //把3这个数据赋值给变量num
      let num = 3

      //num = num + 2
      //和算术运算符的合体,+=,-=,*=,/=,%=...
      num += 2

      console.log(num)
    </script>
  </head>
  <body></body>
</html>
